package com.nhncorp.pleiades.client;

import com.nhncorp.pleiades.ens.SpaceMessage;

public interface SpaceEventHandler {

  /** Called when a new entry is added to space */
  public void entryAdded(SpaceMessage spaceMessage);
  /** Called when an entry is removed */
  public void entryRemoved(SpaceMessage spaceMessage);
  /** Called when a subscription is added */
  public void subscriptionAdded(SpaceMessage spaceMessage);
  /** Called when a subscription is removed */
  public void subscriptionRemoved(SpaceMessage spaceMessage);

}
